<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/02
 * Time: 16:31
 */

namespace app\admin\validate;

use think\Validate;

class Vote extends Validate
{
    protected $rule = [
        'signTime' => 'require',
        'voteTime' => 'require',
        'voteNumPer' => 'require',
        'voteNumShare' => 'require'
    ];
    protected $message = [
        'signTime.require' => '请选择报名时间',
        'voteTime.require' => '请选择投票时间',
        'voteNumPer.require' => '请输入投票次数',
        'voteNumShare.require' => '请输入奖励次数'
    ];
}